#pragma once

#include <gdiplus.h>
using namespace Gdiplus;

const	int			IMAGE_SIZE_MAX = 200;
const	int			SAMPLE_SIZE = 512;
const	double		PI = 3.1415926;
const	double		Deg2Rad = 3.1415926/180.0;
const	double		Rad2Deg = 180.0/3.1415926;
const	double		HalfFov = 14.4;
class CImageShowHelper
{

public:
	CImageShowHelper(void);
	~CImageShowHelper(void);
	void		DrawRuler( Graphics& g,  CRect rc, double sr, double er, bool bshowgrid);
	void		DrawRuler2( Graphics& g,  CRect rc, double sr, double er, bool bshowgrid);

	double  m_dStartR,m_dEndR;
	bool	m_bShowGrid;
};
